From 1d9e68245a57e09852b442f0a00dea7639f80648 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Sun, 17 May 2020 09:53:23 +0200 Subject: [PATCH] shortcutcontroller: Don't return a shortcut stope as GdkModifierType --- gtk/gtkshortcutcontroller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkshortcutcontroller.c b/gtk/gtkshortcutcontroller.c index 99fa997b76..05adcdf3bb 100644 --- a/gtk/gtkshortcutcontroller.c +++ b/gtk/gtkshortcutcontroller.c @@ -866,7 +866,7 @@ gtk_shortcut_controller_set_mnemonics_modifiers (GtkShortcutController *self, GdkModifierType gtk_shortcut_controller_get_mnemonics_modifiers (GtkShortcutController *self) { - g_return_val_if_fail (GTK_IS_SHORTCUT_CONTROLLER (self), GTK_SHORTCUT_SCOPE_LOCAL); + g_return_val_if_fail (GTK_IS_SHORTCUT_CONTROLLER (self), 0); return self->mnemonics_modifiers; } -- 2.30.2